inspector: Support editing interned string properties
authorMatthias Clasen <mclasen@redhat.com>
Tue, 27 Oct 2015 03:38:05 +0000 (23:38 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 27 Oct 2015 03:39:51 +0000 (23:39 -0400)
commit6852a1eef97867a1cd9be285f8fed18eecc9a3aa
tree24cb15d3d693b84208fddc1aa05a454414de9b82
parentb7d001e6137a0d4d5f1ddc1815d11c12468d4b35
inspector: Support editing interned string properties

Sadly, interned string properties cannot be handled generically
at all - GObject insists on inserting a strcpy in any attempt
to set a string property with generic api, destroying the
internedness of the string.

Therefore, we have to special-case GtkCssNode in the property
editor code :-(
gtk/inspector/prop-editor.c